<Select DefaultValue="@("lucy")"
        Style="width:200px"
        OnChange=OnChange>
    <SelectOptGroup Label="Manager">
        <SelectOption Value="jack">Jack</SelectOption>
        <SelectOption Value="lucy">Lucy</SelectOption>
    </SelectOptGroup>
    <SelectOptGroup Label="Engineer">
        <SelectOption Value="yaoming">YaoMing</SelectOption>
    </SelectOptGroup>
</Select>

@using OneOf;
@code
{
    private void OnChange(OneOf<string, IEnumerable<string>, LabeledValue, IEnumerable<LabeledValue>> value, OneOf<SelectOption, IEnumerable<SelectOption>> option)
    {
        Console.WriteLine($"selected: ${value}");
    }
}
